﻿using System;
using System.Windows;

namespace Avaxo.DlrPad
{
    public class ErrorEventArgs : RoutedEventArgs
    {
        private readonly Exception exception;

        public Exception Exception
        {
            get { return exception; }
        }

        public ErrorEventArgs( RoutedEvent routedEvent, Exception exception ) : base( routedEvent )
        {
            this.exception = exception;
        }
    }
}